package com.liwuji.liwujispringcloudopenfeign.feign;

import com.liwuji.liwujispringcloudopenfeign.config.ScopeFeignConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author liwuji
 * @date 2024/3/5
 * @desc
 **/
@FeignClient(name = "nacos-producer",configuration = ScopeFeignConfig.class,fallback = ProducerServiceFallback.class )
public interface ProducerService {
    @GetMapping( value = "/hello")
    String getStores();
}
